package com.nacos.temp4.confdat;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 动态刷新配置
 */
@RefreshScope
@Component
public class NacosConfigData {

    @Value("${biz.supplier.addr}")
    private String bizSupplierAddr;

    public String getBizSupplierAddr() {
        return bizSupplierAddr;
    }
}
